package com.lkd.shoppingcart.service.impl;

import com.lkd.shoppingcart.dao.AdminDao;
import com.lkd.shoppingcart.dao.impl.AdminDaoImpl;
import com.lkd.shoppingcart.entity.Admin;
import com.lkd.shoppingcart.service.AdminService;

public class AdminServiceImpl implements AdminService {
	
	private AdminDao adminDao = new AdminDaoImpl();

	@Override
	public Admin login(Admin admin) {
		return adminDao.queryById(admin.getId());
	}

}
